package com.tanhua.dubbo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.model.domain.Announcement;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AnnouncementMapper extends BaseMapper<Announcement> {

    @Select("select * from tb_announcement")
    List<Announcement> findAll(@Param("page") Integer page, @Param("pagesize")Integer pagesize);
}
